package com.example.socket.model;

import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * Created with IDEA
 * author:QinWei
 * Date:2019/5/21
 * Time:9:09
 */
@Table(name = "success_killed")
public class SuccessKilled implements Serializable {


    private static final long serialVersionUID = 3204860550131755142L;

    private long seckillId;

    private long userId;
    private short state;
    private Timestamp createTime;

    public long getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(long seckillId) {
        this.seckillId = seckillId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public short getState() {
        return state;
    }

    public void setState(short state) {
        this.state = state;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

}
